package com.wh.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wh.springboot.common.entity.ChinaTotal;
import com.wh.springboot.mapper.ChinaTotalMapper;
import com.wh.springboot.service.ChinaTotalService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ChinaTotalServiceImpl extends ServiceImpl<ChinaTotalMapper, ChinaTotal> implements ChinaTotalService {
//    @Autowired
    @Resource
    private ChinaTotalMapper chinaTotalMapper;

    @Override
    public Integer maxID() {
        return chinaTotalMapper.maxID();
    }
}
